<?php
session_start();
/**
 * @author HIENDV
 * @copyright 2012
 */
include_once '../../../Model/Account.php';
$user = $_SESSION['username'];
$pass = $_REQUEST['password'];
//$pass='hiendv';
$acc = new Account($user,$pass);
$rs= $acc->checkAccount();
if($rs !=0){
    echo '1';
}
else {
 	echo '0';    
}       
?>